from api.user.views import *
def register_url(app):
    app.add_url_rule('/posts/', view_func=Views.as_view('posts'))
    app.add_url_rule('/posts/<slug>/', view_func=ListViewSet.as_view('post'))